import { useState, useEffect } from 'react'
import './App.css'
import { CountDown } from 'react-vant';

function App() {
  // 设置时间
  const [time,setTime] = useState(1 * 1 * 60 *1000)
  return (
    <div>
      {/* 倒计时 */}
       <CountDown time={time} millisecond format="HH:mm:ss" />
    </div>
  )
}

export default App
